﻿using MbUnit.Framework;

namespace Quiki.Tests.IntegrationTests
{
    public class GenerateMaperitiveDocs
    {
        [Test]
        public void Test()
        {
            DocumentProcessorSettings settings = new DocumentProcessorSettings ();
            settings.InputDir = @"..\..\..\Samples\Maperitive";
            settings.OutputDir = "html";
            settings.TemplateFileName = @"..\..\..\Samples\Maperitive\template.vm.html";
            settings.LinkedFiles.Add (@"Maperitive.css");
            settings.LinkedFiles.Add (@"Images\BannerSmaller.jpg");
            settings.LinkedFiles.Add (@"Images\BannerFooter.jpg");
            settings.Recursive = true;

            ILogger logger = new ConsoleLogger ();
            DocumentProcessor processor = new DocumentProcessor (settings, logger);
            processor.Process ();            
        } 
    }
}